package com.rqbl.controller;
import com.rqbl.myutils.Transfer;
import com.rqbl.service.InterestService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author bruce
 * @since 2024-07-19
 */
@RestController
@RequestMapping("/interest")
public class InterestController {
    @Autowired
    private InterestService interestService;

    @RequestMapping("/getAllInterestLabels")
    @ResponseBody
    public List<Transfer> getAllInterestLabels(){
        return interestService.getAllInterestLabels();
    }

}
